package com.hongye.proprietary.demo;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

import java.io.IOException;

/**
 * @author lins
 * @date 2021/10/15 15:56
 */
public class JsoupDemo {
    public static void main(String[] args) throws IOException {
        Document document = Jsoup.connect("https://sh.zu.anjuke.com/?from=navigation").get();
        Elements elements = document.select("a[id=_82]");
        String id = elements.attr("id");
        System.out.println(id);
    }
}
